package com.zxc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxc.dao.CstLinkmanMapper;
import com.zxc.entity.CstLinkman;
import com.zxc.service.CstLinkmanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class CstLinkmanServiceImpl extends ServiceImpl<CstLinkmanMapper, CstLinkman> implements CstLinkmanService {

    @Autowired
    private CstLinkmanMapper cstLinkmanMapper;

    @Override
    @Transactional
    public int saveCstLinkman(CstLinkman cstLinkman) {
        return cstLinkmanMapper.insert(cstLinkman);
    }
}
